package com.sunny.ynhz.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sunny.ynhz.R;
import com.sunny.ynhz.bean.RiverChiefBeanMsg;
import com.sunny.ynhz.bean.RiverDutyBean;

import java.util.List;

/**
 * Created by luao on 2017/8/4.
 */

public class ChooseSubmitDutyAdapter extends BaseQuickAdapter<RiverDutyBean.DateBean, BaseViewHolder> {
    public ChooseSubmitDutyAdapter(@Nullable List<RiverDutyBean.DateBean> data) {
        super(R.layout.item_river_choose, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, final RiverDutyBean.DateBean item) {
        helper.setText(R.id.choose_river, item.getNAME());
    }
}
